package com.ruoyi.project.dataviewSystem.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 监控图片对象 surveillance_picture
 * 
 * @author wangshuo
 * @date 2021-01-31
 */
public class SurveillancePicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 站点表 */
    @Excel(name = "站点表")
    private String stationcode;

    /** 抓拍类型：1.球机，2.枪机 */
    @Excel(name = "抓拍类型：1.球机，2.枪机")
    private Integer pictureType;

    @Excel(name = "地址")
    private String url;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtUpload;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date gmtCreate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationcode(String stationcode) 
    {
        this.stationcode = stationcode;
    }

    public String getStationcode() 
    {
        return stationcode;
    }
    public void setPictureType(Integer pictureType) 
    {
        this.pictureType = pictureType;
    }

    public Integer getPictureType() 
    {
        return pictureType;
    }
    public void setGmtUpload(Date gmtUpload) 
    {
        this.gmtUpload = gmtUpload;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getGmtUpload()
    {
        return gmtUpload;
    }
    public void setGmtCreate(Date gmtCreate) 
    {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtCreate() 
    {
        return gmtCreate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationcode", getStationcode())
            .append("pictureType", getPictureType())
            .append("gmtUpload", getGmtUpload())
            .append("gmtCreate", getGmtCreate())
            .toString();
    }
}
